package com.study.bean;

import org.springframework.stereotype.Component;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/5/15 9:50 上午
 */

@Component("tom")
public class Cat {
    public Cat() {

    }

    public Cat(int age) {
        this.age = age;
    }

    int age;

    @Override
    public String toString() {
        return "Cat{" +
                "age=" + age +
                '}';
    }
}
